package com.nicole.mapper;


import com.nicole.entity.User;
import lombok.extern.apachecommons.CommonsLog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> getAllUser();

    User getUserById(Long id);

    void updateUser(User user);


}
